projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f65954d
)
Use new DST-safe 'mklocaltime()'.
author
oliskoli
<oliskoli>
Sun, 30 Jul 2006 21:31:29 +0000
(21:31 +0000)
committer
oliskoli
<oliskoli>
Sun, 30 Jul 2006 21:31:29 +0000
(21:31 +0000)
garmin_txt.c
patch
|
blob
|
history
diff --git
a/garmin_txt.c
b/garmin_txt.c
index 52d50efcd127c4b61d67a62026f8a1d60fca8f80..8d58cf33316dba04f443ad01d469e53e44b09689 100644
(file)
--- a/
garmin_txt.c
+++ b/
garmin_txt.c
@@
-888,7
+888,7
@@
parse_date_and_time(char *str, time_t *value)
// printf(MYNAME "_parse_date_and_time: %02d.%02d.%04d, %02d:%02d:%02d\n",
// tm.tm_mday, tm.tm_mon+1, tm.tm_year+1900, tm.tm_hour, tm.tm_min, tm.tm_sec);
- *value = mktime(&tm);
+ *value = mk
local
time(&tm);
return 1;
}